<!--
  JBoss, Home of Professional Open Source
 
  Copyright 2008, Red Hat Middleware LLC, and individual contributors
  by the @author tags. See the COPYRIGHT.txt in the distribution for a
  full listing of individual contributors.
 
  This is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as
  published by the Free Software Foundation; either version 2.1 of
  the License, or (at your option) any later version.
 
  This software is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  Lesser General Public License for more details.
 
  You should have received a copy of the GNU Lesser General Public
  License along with this software; if not, write to the Free
  Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  02110-1301 USA, or see the FSF site: http://www.fsf.org.
 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Bayeux Chat</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="dojo/dojo/dojo.js" ></script>
        <script type="text/javascript" src="dojo/dojox/cometd.js" ></script>
        <script type="text/javascript" src="chat.js"></script>
    </head>
    <body>
        <div id="chatroom">
            <div id="chat"></div>
            <div id="input">
                <div id="join" >
                    Username: <input id="username" type="text"/><input id="joinB" class="button" type="submit" name="join" value="Join"/>
                </div>
                <div id="joined" class="hidden">
                    Chat: <input id="phrase" type="text"></input>
                    <input id="sendB" class="button" type="submit" name="join" value="Send"/>
                    <input id="leaveB" class="button" type="submit" name="join" value="Leave"/>
                </div>
            </div>
        </div>
    </body>
</html>
